package cn.edu.njnu.opengmpback.common.dto;

import cn.edu.njnu.opengmpback.common.utils.ToDomainConverter;
import cn.edu.njnu.opengmpback.collaboration.entity.CollabProject;
import cn.edu.njnu.opengmpback.collaboration.enums.CollabActivityType;
import cn.edu.njnu.opengmpback.collaboration.enums.CollabProjectCategory;
import cn.edu.njnu.opengmpback.collaboration.enums.CollabProjectPrivacy;
import com.alibaba.fastjson.JSONArray;
import lombok.Data;

import java.util.HashSet;
import java.util.List;

@Data
public class UpdateCollabProjectDTO implements ToDomainConverter<CollabProject> {
    /**
     * Common activity
     */
    private String aid;
    private String name;
    private String description;
    private String purpose;
    private CollabActivityType type;
    private JSONArray pathway;
    private String permission;
    private HashSet<String> toolList;


    /**
     * Project
     */
    private CollabProjectPrivacy privacy;
    private String tag;
    private String picture;
    private CollabProjectCategory category;

}
